LaPeL: a Logic Programming Language

ثبت نشده
چکیده

Where ~t is a sequence of terms, ~x is a sequence of variables, and ~a is a sequence of assumptions. In the assumptions we write implication in the opposite direction than we normally do (i.e., “p(~t ) ⊂ g” rather than “g ⊃ p(~t )”). This is a standard convention in logic programming (e.g., Prolog) because it makes it easier for the programmer to understand the program; the meaning of implication is unchanged. A program consists of an ordered sequence of assumptions followed by a goal (also known as the query). Think of the assumptions as the hypotheses in a judgement, and the query as the proposition that is supposed to be proved. The computation consists of attempting to prove the truth of the goal g given the hypotheses ~a. The LaPeL syntax is an extension of definite Horn clauses; the added features are (1) the goal g1∨g2, which allows for disjunction; (2) the goal a ⊃ g, which allows for hypothetical implication; and (3) the goal output, which outputs the values of all the variables currently in scope. These extensions preserve the primary benefit of definite Horn clauses: goal-directed execution, allowing for tractable computation—e.g., as with definite Horn clauses, the implications given in the assumptions ~a have exactly one predicate as the succedent of the implication, thus when trying to prove a predicate goal p(~t ) we know exactly which assumptions to apply.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

LaPeL: a Logic Programming Language

Where ~t is a sequence of terms, ~x is a sequence of variables, and ~a is a sequence of assumptions. In the assumptions we write implication in the opposite direction than we normally do (i.e., “p(~t ) ⊂ g” rather than “g ⊃ p(~t )”). This is a standard convention in logic programming (e.g., Prolog) because it makes it easier for the programmer to understand the program; the meaning of implicati...

متن کامل

Design and PLC Implementation for Speed Control of DC Motor using Fuzzy Logic

In this article, a speed control of DC motor is designed and illustrated using fuzzy logic-based programmable logic controller (PLC). The DC motor is an attractive part of electrical equipment in many industrial applications requiring variable speed and load specifications due to its ease of controllability. The designed system is consisted of three main parts including programmable logic contr...

متن کامل

Speech recognition performance of CJLC: corpus of Japanese lecture contents

This paper discusses the speech recognition of Japanese classroom lecture speech. In particular, we mention the influences of microphone differences and the language model differences on the speech recognition performance of classroom lectures. First, we collected actual classroom lecture contents from several universities in Japan. In this paper, we recorded the lecture speech using lapel micr...

متن کامل

A Fast and Self-Repairing Genetic Programming Designer for Logic Circuits

Usually, important parameters in the design and implementation of combinational logic circuits are the number of gates, transistors, and the levels used in the design of the circuit. In this regard, various evolutionary paradigms with different competency have recently been introduced. However, while being advantageous, evolutionary paradigms also have some limitations including: a) lack of con...

متن کامل

An Inductive Logic Programming Query Language for Database Mining

First, a short introduction to inductive logic programming and machine learning is presented and then an inductive database mining query language RDM (Relational Database Mining language). RDM integrates concepts from inductive logic programming, constraint logic programming, deductive databases and meta-programming into a flexible environment for relational knowledge discovery in databases. Th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016